package com.woniu.user.common;


import com.woniu.result.ResultCode;

public enum AddressException implements ResultCode {

    ADDRESS_NOT_EXIST(20001,"地址不存在"),
    ADDRESS_IS_DELETE(20002,"请勿重复删除")
    ;

    private int code;
    private String message;

    private AddressException(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
}
